package TCP;

import java.net.InetAddress;
import java.net.UnknownHostException;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package test
 * @date 2024/3/20 11:31
 */
public class Day01_InetAddress {
    public static void main(String[] args) {


        try {
            InetAddress address;
            address = InetAddress.getLocalHost();
            System.out.println(address);
        } catch (UnknownHostException e) {
            throw new RuntimeException(e);

        }

    }
}
